#include <header.h>

int main(){

    int fd = open("1.txt", O_RDWR);

    char buf[100] = {0};
    ssize_t ret = read(fd,  buf, sizeof(buf));
    printf("ret: %ld \n", ret);
    printf("buf: %s \n", buf);


    close(fd);
    fd = open("1.txt", O_RDWR);

    bzero(buf, sizeof(buf));
    memset(buf, 0, sizeof(buf));

    ret = read(fd, buf, sizeof(buf));
    printf("ret: %ld \n", ret);
    printf("buf: %s \n", buf);


    close(fd);
    return 0;
}

